package pattern.pay.factory.v1;

public class Main {
    public static void main(String[] args) {

        //简单工厂
        //Pay pay = SimplePayFactory.createPay("WECHAT_PAY");
        Pay pay = SimplePayFactory.createPay("ALI_PAY");
        pay.unifiedorder();
    }
}
